/*
 * (c) 2014 Virtusa Corporation.
 * All Rights Reserved
 */
package ead.cs.service;

import ead.cs.domain.ShipSchedule;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 *
 * @author cjayawickrema
 */
public interface ShipScheduleService {

    List<ShipSchedule> getSchedule(String arrivalPort, String departurePort, Date startDate, Date endDate);

    ShipSchedule getScheduleItem(String shipId);

    void save(ShipSchedule shipSchedule);

    Set<String> findDeparturePorts();

    Set<String> findArrivalPorts();
}
